package com.example.demo;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "graycat.auto")
public class CustomProperties {

    /**
     * 自己的自动配置类是否生效
     */
    private boolean enable;
    public boolean isEnable(){
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
